<template>
    <a-card style="position: relative">
      <!-- table区域-begin -->
      <div>
        <a-table
          ref="table"
          size="middle"
          bordered
          rowKey="id"
          :columns="columns"
          :dataSource="dataSource"
          :pagination="ipagination"
          :loading="loading"
          @change="handleTableChange">
          <span slot="title2" slot-scope="text">
            <j-ellipsis :value="text" :length="20"/>
          </span>
          <span slot="action" slot-scope="text, record">
            <a @click="handleCheck(record,'审计工作标准-查看')">查看</a>
           </span>
        </a-table>
      </div>
      <!-- table区域-end -->
      <CheckAndEditModel ref="modalForm" @ok="modalFormOk"></CheckAndEditModel>
    </a-card>
</template>
<script>
  // 表头
  import {JeecgListMixin} from '@/mixins/JeecgListMixin'
  import CheckAndEditModel from './CheckAndEditModel'
  import JEditor from '@/components/jeecg/JEditor'
  import columns from './indexColumns'

  export default {
    name: '审计工作标准',
    mixins: [JeecgListMixin],
    components: {
      CheckAndEditModel,
      JEditor
    },
    data() {
      return {
        queryParam: {
          remName: '',
          advType:'4'
        },
        // 表头
        columns: columns(this),
        url: {
          list: '/sjzszhly/knowledgeStation/queryStationListInfo',
        },
      }
    },
    computed: {},
    methods: {
    },
    created() {
    }
  }
</script>
<style scoped>
  @import '~@assets/less/common.less'
</style>
<style lang="less" scoped>

  .ant-row {
    height: 100%;

    .ant-col {
      height: 100%;

      .ant-card {
        height: 100%;

        /deep/ .ant-card-body {
          padding: 15px;
        }
      }
    }
  }

</style>